//
//  AFURLSessionManager+RAExtension.m
//  RayoSmartBleKey
//
//  Created by Piccolo on 08/02/2018.
//  Copyright © 2018 Piccolo. All rights reserved.
//

#import "AFURLSessionManager+RAExtension.h"

@implementation AFURLSessionManager (RAExtension)

+ (AFURLSessionManager *)sharedManager {
    
    static AFURLSessionManager *manager = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
    });
    return manager;
}

@end
